<div class="width202 FL">
    <div class="menu-list-pr MgL5">
        <div class="box-name">
            TRẦN THỊ QUYÊN
        </div>
        <ul>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">
                    Bài giảng
                    <span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">
                        {{$data['statistic']['lessons']}}
                    </span>
                </a>
            </li>
            <li><a href="{{route('account',array('act'=>'video'))}}"
                   class="<?= $data['action'] == 'video' ? 'active' : 'dis_block color99' ?>">
                    Videos
                    <span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">{{$data['statistic']['videos']}}</span>
                </a>
            </li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Theo dõi<span
                        class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Hoạt động<span
                        class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Tin nhắn của tôi<span
                        class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Khóa học của tôi<span
                        class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Videos của
                    tôi<span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Thống kê
                    điểm<span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Quản lý yêu
                    cầu<span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'question'))}}"
                   class="<?= $data['action'] == 'question' ? 'active' : 'dis_block color99' ?>">Quản ý hỏi
                    đáp<span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'lesson'))}}"
                   class="<?= $data['action'] == 'lesson' ? 'active' : 'dis_block color99' ?>">Quản ý mua
                    bán<span class="badge FR <?= $data['action'] == 'manager' ? 'active' : "" ?>">15</span></a></li>
            <li><a href="{{route('account',array('act'=>'manager'))}}"
                   class="dis_block color99 <?= $data['action'] == 'manager' ? 'active' : "" ?>">
                    Quản lý tài khoản
                </a>
            </li>
        </ul>
    </div>
    @if($data['action'] == '')
    <div class="member-join MgT20">
        <label>Đang theo dõi <span class="badge FR">{{$data['follows']->getTotal()}}</span></label>

        <div class="list-avatar-member">
            @forelse($data['follows'] as $follow)
            <a href="{{$follow->generate_link()}}" title="{{$follow->username}}">
                <img src="{{$follow->avatar_link()}}"/>
            </a>
            @empty
            @endforelse

        </div>
    </div>
    @endif
</div>